import Phaser from "phaser";


export default class Character extends Phaser.GameObjects.Container {
    public speed: number = 100; // 移动速度

    constructor(scene: Phaser.Scene, x: number, y: number) {
        super(scene, x, y);
    }
}

export class Player extends Character {
    constructor(scene: Phaser.Scene, x: number, y: number) {
        super(scene, x, y);
    }
}

export class Enemy extends Character {
    constructor(scene: Phaser.Scene, x: number, y: number) {
        super(scene, x, y);
    }
}